package interfaceRepositorio;

import java.sql.SQLException;

import entidades.Endereco;
import excecoes.FalhaPersistenciaException;

public interface IRepositorioEndereco {

	public void cadastrar(Endereco endereco,String cpfServidor) throws FalhaPersistenciaException,
			SQLException;

	public Endereco consultar(String cpfServidor) throws FalhaPersistenciaException,
			SQLException;

	public void atualizar(Endereco endereco, String cpfServidor) throws FalhaPersistenciaException,
			SQLException;

	public int getMaximoId() throws FalhaPersistenciaException, SQLException;
}
